require 'rubygems'
Gem::manage_gems
require 'rake/gempackagetask'
spec = Gem::Specification.new do |s|
  s.name = "regexbuilder"
  s.version = "0.0.1"
  s.author = "Guanglei Li"
  s.email = "chelsea@mail.csdn.net"
  s.homepage = "http://regexbuilder.rubyforge.org/"
  s.platform = Gem::Platform::RUBY
  s.summary = "An online Diary for families"
  s.files = FileList["{tests,lib}/**/*"].exclude("rdoc").to_a
  s.require_path = "lib"
  s.autorequire = "regexbuilder"
  s.test_file = "tests/regex_builder_test.rb"
end
Rake::GemPackageTask.new(spec) do |pkg|
  pkg.need_tar = true
  pkg.gem_spec = spec
end